package com.ceit.dao;

import com.ceit.model.QuestionrKnowledge;
import com.ceit.model.QuestionrKnowledgeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuestionrKnowledgeMapper {

    int countByExample(QuestionrKnowledgeExample example);

    int deleteByExample(QuestionrKnowledgeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(QuestionrKnowledge record);

    int insertSelective(QuestionrKnowledge record);

    List<QuestionrKnowledge> selectByExample(QuestionrKnowledgeExample example);

    QuestionrKnowledge selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") QuestionrKnowledge record, @Param("example") QuestionrKnowledgeExample example);

    int updateByExample(@Param("record") QuestionrKnowledge record, @Param("example") QuestionrKnowledgeExample example);

    int updateByPrimaryKeySelective(QuestionrKnowledge record);

    int updateByPrimaryKey(QuestionrKnowledge record);
}